package com.frinder.robot.strategy.task.distribute;

import akka.actor.ActorRef;
import lombok.Builder;
import lombok.Getter;

/**
 * @ClassName DistributeTaskToRobotPayload
 * @Description 分派任务到机器人
 * @Author frinder
 * @Date 2019/10/19 14:16
 * @Verion 1.0
 */
@Getter
@Builder
public class DistributeTaskToRobotPayload {

    private Type type;

    private ActorRef sender;

    private ActorRef receiver;

    public enum Type {
        PRIORITY,
        DISTANCE,
        PRIORITY_DISTANCE,
    }
}
